.clearfix::before,
.clearfix::after{
    content: '';
    display: table;
}

.clearfix::after{
    clear: both;
}

body{
    background: url(images/desktop_1.jpg) no-repeat center center;
}
.pat{
    background-color: #ffcccc;
    margin: 15px 0 5px;
}

.code01{
    display: inline-block;
    background-color: #333;
    font-weight: 700;
    color: #fff;
    line-height: 30px;
    padding: 10px;
    margin-top: 15px;
}

.box01{
    width: 400px;
    border-bottom: 1px solid #ccc;
    margin: 0 auto;
    position: relative;
}

.box01 input{
    width: 370px;
    height: 30px;
    border: 0;
    outline: none;
}

.box01 img{
    width: 24px;
    position: absolute;
    top: 2px;
    right: 2px;
}

#box02{
    background-color: skyblue;
    width: 200px;
    height: 200px;
}

.box03{
    border: 1px solid #eee;
    color: #999;
    width: 125px;
    text-align: center;
    position: relative;
}


.box03-text{
    width: 125px;
    margin: 0 auto;
    font-size: 10px;
}

.box03 i{
    position: absolute;
    top: -6px;
    left: 115px;
    padding: 0 5px;
    font-size: 10px;
    border: 1px solid #999;
    border-radius: 14px; 
}

.box03 i:hover{
    cursor: pointer;
}

.box04{
    width: 250px;
    margin: 100px auto;
}

.box04 ul{
    list-style: none;
}

.box04 li{
    float: left;
    width: 24px;
    height: 24px;
    background-color: #ffcccc;
    /* background: url(images/jingling.png); */
    margin: 15px;
}

/* 输入框焦点 */
#input01{
    color: #999;
}

/* 密码位数 */
.register{
    width: 600px;
    margin: 100px auto;
}
.message{
    display: inline-block;
    font-size: 12px;
    color: #999;
    background: url(images/mess.png) no-repeat left center;
    background-size: contain;
    padding-left: 20px;
}

.wrong{
    color: red;
    background: url(images/wrong.png) no-repeat left center;
    background-size: contain;

}

.right{
    background: url(images/right.png) no-repeat left center;
    background-size: contain;
}

.baidu{
    margin: 10px auto;
    text-align: center;
}

.baidu img{
    width: 32px;
    height: 18px;
}

.baidu img:hover{
    width: 64px;
    height: 36px;
}

.baidu li{
    list-style: none;
    display: inline-block;
}

/* 表格 鼠标停留变色 高亮 */

table {
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #c0c0c0;
    width: 500px;
    margin: 100px auto;
    text-align: center;
  }

  th {
    background-color: #09c;
    font: bold 16px "微软雅黑";
    color: #fff;
    height: 24px;
  }

  td {
    border: 1px solid #d0d0d0;
    color: #404060;
    padding: 10px;
  }

  .allCheck {
    width: 80px;
  }

  .bg{
    background-color: skyblue;
  }


  /* 案例：tab */

    .tab ul {
      list-style: none;
    }

    .tab {
      width: 1000px;
      height: 475px;
      margin: 0 auto;
      margin-top: 100px;
    }

    .tab-list {
      border: 1px solid #ddd;
      border-bottom: 0;
      height: 36px;
      width: 600px;
    }

    .tab li {
      position: relative;
      float: left;
      height: 34px;
      line-height: 34px;
      text-align: center;
      cursor: pointer;
      border-left: 1px solid #000;
      border-bottom: 1px solid #000;
      border-top: 4px solid #fff;
    }

    .tab-list li:last-child{
      border-right: 1px solid #000;
    }

    /* .tab span {
      position: absolute;
      right: 0;
      top: 10px;
      background: #ddd;
      width: 1px;
      height: 14px;
      overflow: hidden;
    } */

    .tab-con {
      width: 1002px;
      border: 1px solid #ddd;
      height: 476px;
      float: left;
    }

    .item {
      float: left;
      display: none;
    }

    .item.current {
      display: block;
    }

  

    .tab li.current{
      border: 4px solid red;
      border-bottom: 0;
      border-left: 0;
      border-right: 0;
    }

    /* 评论留言功能 */
    .ul02{
      width: 200px;
      background-color: skyblue;
    }
    .ul02 a{
      float: right;
      text-decoration: none;
    }



    /* 事件捕获和事件冒泡 */
.father01{
  width: 400px;
  height: 400px;
  background-color: pink;
  margin: 0 auto;
  overflow: hidden;
}

.son01{
  width: 200px;
  height: 200px;
  background-color: skyblue;
  margin: 100px auto;
}

.father02{
  width: 400px;
  height: 400px;
  background-color: pink;
  margin: 0 auto;
  overflow: hidden;
}

.son02{
  width: 200px;
  height: 200px;
  background-color: skyblue;
  margin: 100px auto;
}

.box04{
  width: 200px;
  height: 200px;
  background-color: pink;
  margin: 0 auto;
}